Ext.define('BookmarkIt.store.localBookmarks', {
    extend: 'Ext.data.Store',
    requires:['BookmarkIt.store.gapiManager'],
    model: 'BookmarkIt.model.Bookmark',
    storeId : 'myLocalBookmarks',
   /* load: function(){
    	BookmarkIt.store.gapiManager.loadDataToStore(this);
    },
    sync: function(){
    	BookmarkIt.store.gapiManager.saveData(this,false);
    },
    syncWithReload:function(){
    	BookmarkIt.store.gapiManager.saveData(this,true);
    },*/
    listeners:{
        beforeload:function(store, operation, eOpts){
            if(store.sorters.length>0){
                 store.sorters.clear();
            }
        }
     }
});